package TrafficControlSystem.Common;

public abstract class LightsInfoSerializer extends Serializer {
	public static String toXML(LightsInfo lights) {
		return xstream.toXML(lights);
	}
	
	public static LightsInfo fromXML(String xml) {
		return (LightsInfo)xstream.fromXML(xml);
	}
}
